Floating Panels > The floating panel API |
![]() ![]() ![]() |
The custom functions in the floating panel API are all optional. These functions differ from the functions in the main JavaScript API in three ways:
![]() |
They are not methods of the dreamweaver , dom , or site object. |
![]() |
They are significant only in the context of Floating Panel files. That is, Dreamweaver automatically calls the documentEdited() function if it is defined in a Floating Panel file, whereas a function named documentEdited() acts like a user-defined function in any other extension fileyou have to call it explicitly. |
![]() |
You are responsible for writing the body of each function and returning a value, if required. This is the opposite of how the functions work in the main API: those you call and pass arguments to, and Dreamweaver generates return values, if any. Here Dreamweaver calls the functions and passes arguments to them, and you generate return values, if any. |
![]() ![]() ![]() |